﻿#include "widget.h"
#include <QApplication>
#include "controler.h"
#include <QTimer>
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    Controler controler;

    int flag;

    controler.AudioControllerInit();

    flag = controler.VideoControllerInit();
    if(flag == false)
        return a.exec();

    flag = controler.start_ObstacleDetection();



    return a.exec();
}
